//
//  MasterViewController.h
//  Porthole
//
//  Created by Dennis Chau on 12/8/11.
//  Copyright (c) 2011 Univeristy of Illinois at Chicago. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DetailViewController;

typedef enum { CUA_BUTTON=0 , CUA_SLIDER=1  , CUA_TOGGLE=2 } CUATypes;

@interface MasterViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource>
{
    NSMutableArray *GUITableData;
}

@property (strong, nonatomic) DetailViewController *detailViewController;

@property ( strong , nonatomic ) NSMutableArray *GUITableData;

- (void) UIElementReaction:(id)sender;

//Notificaitons
- (void) setupCUAFromGUISpec:(NSNotification *) notification;

//GUI parsing   
-(void) determineGUISpec:(NSString*) GUISpec;

@end
